﻿using System.ComponentModel;
using System.Data;
using System.Windows;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Data;
using INTEX.DataBase.Tools;
namespace WPFExcelReport.Chart
{
    /// <summary>
    /// Interaction logic for ChartEx.xaml
    /// </summary>
    public partial class ChartEx0002 : ChartExBase
    {
       
        public ChartEx0002()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            vm = new ChartExViewModel();
            this.DataContext = vm;
            InitializeComponent(); 
            vm.IsChart00 = true;
            vm.IsChart01 = true;
            vm.IsChart02 = true;
            vm.IsChart03 = false;
            vm.IsChart04 = false;
            vm.IsChart05 = false;
            vm.IsChart06 = false;
            vm.IsChart07 = false;
            vm.IsChart08 = false;
            vm.IsChart09 = false;
            vm.DefaultTitle = "销售额分析";
            vm.DefaultSubTitle = "金额";
        }
        public override void ChartEx_Loaded(object sender, RoutedEventArgs e)
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            if (IsLoaded)
                return;
            base.ChartEx_Loaded(sender, e);             
        }
        public override void SetUp(int iData, string name, DataTable tb, string X, string Y)
        {
            base.SetUp(iData, name, tb, X, Y); 
        }
        public override void SetConverter()
        {
            base.SetConverter(); 
        } 
    }
}
